package com.example.crossborderecommerce.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 仓库货物
 *
 * @author Yolanda
 * @since 2024-05-09
 */
@Data
@Accessors(chain = true)
@TableName("store_commodity")
public class StoreCommodity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("store_id")
    private Integer storeId;

    @TableField(exist = false)
    private String storeName;

    @TableField("product_id")
    private Integer productId;

    @TableField(exist = false)
    private String productName;

    @TableField("quantity")
    private Integer quantity;

    @TableField("minimum_quantity")
    private Integer minimumQuantity;

    @TableField("status")
    private String status;


}
